package ecom.shell;

import shell.ShellConstantes;

/**
 * eCommerce Application Sample for J2EE Training. Constantes globales.
 * 
 * @author François Haurit
 */
public interface EcomShellConstantes extends ShellConstantes {
    // Format de sortie.
    String OUTPUT_MIME_FORMAT = "OUTPUT_MIME_FORMAT";
    String TEXT_MIMETYPE = "text/plain";
    String XML_MIMETYPE = "text/xml";

    // Monnaie courante.
    String CURRENT_CURRENCY = "CURRENT_CURRENCY";

    // Taxe courante.
    String CURRENT_TX = "CURRENT_TX";

    // Langue
    String CURRENT_LANG = "CURRENT_LANG";
    String LANG_EN = "en";
    String LANG_FR = "fr";
    String LANG_ES = "es";
    String LANG_IT = "it";
    // TODO rajouter des langues

    // Administrateur?
    String EST_ADMIN = "EST_ADMIN";
    String OUI = "oui";
    String NON = "non";

    String CUSTOMER = "customer";
    String ADMIN = "admin";
    String CONVERTER = "converter";
}
